package com.helmlabs.grouper.search.service;

public class IndexerServiceFactory {
	
	private static IndexerService indexerService;
	
	public static IndexerService getIndexerService(){
		if (indexerService==null){
			try {
				indexerService = (IndexerService)Class.forName("com.helmlabs.grouper.search.service.IndexerServiceImpl").newInstance();
			}catch(Exception e){
				e.printStackTrace();
			}
		}
		return indexerService;
	}

}
